import Layout from '@/layout'

const clientAccountManagement = {
  path: '/clientAccountManagement',
  component: Layout,
  meta: {
    icon: 'el-icon-user',
    title: '客户账户管理',
    roles: ['f04']
  },
  children: [
    {
      path: '',
      component: () => import('@/views/clientAccountManagement/Index'),
      name: 'clientAccountManagement',
      meta: {
        keepAlive: true,
        title: '客户账户管理',
        roles: ['f04']
      }
    },
    {
      path: 'accountDetail/:id',
      component: () => import('@/views/clientAccountManagement/AccountDetail'),
      name: 'accountDetail',
      hidden: true,
      meta: {
        title: '账户详情',
        roles: ['f04_01']
      }
    }
  ]
}

export default clientAccountManagement
